package com.neuedu.work;

public class IntAdd {
	public static void main(String[] args) {
		int m=485;
		int a;
		a = m/100;
		int b = m/10%10;
		int c = m%10;
		int sum = a+b+c;
	System.out.println("sum=" + sum);
	}
}
